class VideoEntity {
	int code;
	List<VideoData> data;

	VideoEntity({this.code, this.data});

	VideoEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		if (json['data'] != null) {
			data = new List<VideoData>();(json['data'] as List).forEach((v) { data.add(new VideoData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class VideoData {
	int uid;
	String path;
	int read;
	int createTime;
	String faceImage;
	int agree;
	String title;
	int vedioId;
	String desc;
	int status;

	VideoData({this.uid, this.path, this.read, this.createTime, this.faceImage, this.agree, this.title, this.vedioId, this.desc, this.status});

	VideoData.fromJson(Map<String, dynamic> json) {
		uid = json['uid'];
		path = json['path'];
		read = json['read'];
		createTime = json['create_time'];
		faceImage = json['face_image'];
		agree = json['agree'];
		title = json['title'];
		vedioId = json['vedio_id'];
		desc = json['desc'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['uid'] = this.uid;
		data['path'] = this.path;
		data['read'] = this.read;
		data['create_time'] = this.createTime;
		data['face_image'] = this.faceImage;
		data['agree'] = this.agree;
		data['title'] = this.title;
		data['vedio_id'] = this.vedioId;
		data['desc'] = this.desc;
		data['status'] = this.status;
		return data;
	}
}
